<div id="alpha">
<div id="alpha-inner">

<h1>
<span class="network-title"><%=h @network.name %></span> 

<%= link_to image_submit_tag("/images/ico/24x24/process.png", :alt => 'Edit this network', :class => "middle", :title => 'Edit this network'), edit_network_path(@network) %>

<%= link_to image_submit_tag("/images/ico/24x24/delete.png", :alt => 'Delete this network', :class => "middle", :title => 'Delete this network'), @network, :confirm => 'Are you sure?', :method => :delete %>
</h1> 

<h3 class="network-description"><%=h @network.description %></h3>

<br />

<div id="nodes">
<h1><span class="title-label">nodes&nbsp;</span> (<span class="node-count" id="node_count"><%= @network.nodes.size %></span>)
</h1> 

<br />
<ul id="nodes_list">
	<% if @network.nodes.empty? %>
    	<em>There aren't any nodes in this network yet</em>
    <% else %>
    	<%= render :partial => 'nodes/node',
				   :collection => @network.nodes %>
    <% end %>
</ul>
<br /><br />


<div id="nodes-form">
<%= image_tag("/images/ico/24x24/add.png", :class => "middle", :title => 'Add a new node to this network') %> Add a node to this network<br />
<% form_remote_for [ @network, Node.new ] do |f| %>
	name: <%= f.text_field :name %>
	<%= f.submit 'create' %>
<% end %>
</div><!-- /nodes-form" -->
</div><!-- /nodes -->


</div><!-- /alpha-inner -->
</div><!-- /alpha -->

<div id="beta">
<div id="beta-inner">

<div id="widget-tools" class="widget">
<div class="widget-inner">
<h4 class="widget-header">Network tools</h4>

</div>
</div>


<p>This network is <%=h @privacy_status %><%= image_tag(@privacy_image) %></p>


<p>
Created by <%=h @created_by %>
</p>

<p>
  <b>Type:</b>
  <%=h @network.network_type_id %>
</p>

<p>
  <b>Team:</b>
  <%=h @network.team_id %>
</p>
</div><!-- /network-meta -->

</div><!-- /beta-inner -->
</div><!-- / beta -->
